package approvalactivity;

import android.app.Activity;
import android.app.FragmentManager;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.Toast;

public class ApproveAction implements OnClickListener {

	ImageView approveBtn;

	@Override
	public void onClick(View v) {

		//Toast.makeText(v.getContext(), "button", Toast.LENGTH_SHORT).show();

		ApproveDialog approveDialog = new ApproveDialog();
		FragmentManager fragmentManager = ((Activity) v.getContext())
				.getFragmentManager();
		approveDialog.show(fragmentManager, "ApproveDialog");

	}

}